package com.trust.entity.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ccc
 * @desc
 * @since 2023/11/15 11:05
 */
@Data
@ApiModel("育苗列表vo")
public class FarmSeedListVO {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("育苗批号")
    private String code;

    @ApiModelProperty("作物当前进度")
    private BigDecimal cropProgress;

    @ApiModelProperty("作物生长周期")
    private BigDecimal growthCycle;

    @ApiModelProperty("种植标识")
    private String plantSign;

    @ApiModelProperty("种植面积")
    private BigDecimal plantArea;

    @ApiModelProperty("种植地块")
    private String landId;

    @ApiModelProperty("地块编号")
    private List<String> landCode;

    @ApiModelProperty("种源信息")
    private Integer breedId;

    @ApiModelProperty("种源信息名称")
    private String breedName;

    @ApiModelProperty("种源批号")
    private Integer breedCode;

    @ApiModelProperty("种源批号名称")
    private String breedCodeName;

    @ApiModelProperty("种植开始时间")
    @JsonFormat(pattern = "yyyy/MM/dd", timezone = "GMT+8")
    private Date plantStart;

    @ApiModelProperty("种植品类")
    private Integer categoryId;

    @ApiModelProperty("种植品类名称")
    private String categoryName;

    @ApiModelProperty("负责人")
    private Integer principal;

    @ApiModelProperty("负责人名称")
    private String principalName;

    @ApiModelProperty("在茬作物")
    private String stubbleCrop;

    @ApiModelProperty("育苗数量")
    private BigDecimal breedNum;

    @ApiModelProperty(value = "状态 1进行中，2已结束")
    private Integer state;

    @ApiModelProperty("育苗数量")
    private Integer seedNum;
}
